3.13.40 \(\int (1-2 x)^3 (3+5 x)^3 \, dx\)

Optimal. Leaf size=40 \[ -\frac {1000 x^7}{7}-50 x^6+174 x^5+\frac {179 x^4}{4}-87 x^3-\frac {27 x^2}{2}+27 x \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {43} \begin {gather*} -\frac {1000 x^7}{7}-50 x^6+174 x^5+\frac {179 x^4}{4}-87 x^3-\frac {27 x^2}{2}+27 x \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(1 - 2*x)^3*(3 + 5*x)^3,x]

[Out]

27*x - (27*x^2)/2 - 87*x^3 + (179*x^4)/4 + 174*x^5 - 50*x^6 - (1000*x^7)/7

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin {align*} \int (1-2 x)^3 (3+5 x)^3 \, dx &=\int \left (27-27 x-261 x^2+179 x^3+870 x^4-300 x^5-1000 x^6\right ) \, dx\\ &=27 x-\frac {27 x^2}{2}-87 x^3+\frac {179 x^4}{4}+174 x^5-50 x^6-\frac {1000 x^7}{7}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 40, normalized size = 1.00 \begin {gather*} -\frac {1000 x^7}{7}-50 x^6+174 x^5+\frac {179 x^4}{4}-87 x^3-\frac {27 x^2}{2}+27 x \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(1 - 2*x)^3*(3 + 5*x)^3,x]

[Out]

27*x - (27*x^2)/2 - 87*x^3 + (179*x^4)/4 + 174*x^5 - 50*x^6 - (1000*x^7)/7

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int (1-2 x)^3 (3+5 x)^3 \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(1 - 2*x)^3*(3 + 5*x)^3,x]

[Out]

IntegrateAlgebraic[(1 - 2*x)^3*(3 + 5*x)^3, x]

________________________________________________________________________________________

fricas [A]  time = 0.93, size = 34, normalized size = 0.85 \begin {gather*} -\frac {1000}{7} x^{7} - 50 x^{6} + 174 x^{5} + \frac {179}{4} x^{4} - 87 x^{3} - \frac {27}{2} x^{2} + 27 x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^3*(3+5*x)^3,x, algorithm="fricas")

[Out]

-1000/7*x^7 - 50*x^6 + 174*x^5 + 179/4*x^4 - 87*x^3 - 27/2*x^2 + 27*x

________________________________________________________________________________________

giac [A]  time = 0.95, size = 34, normalized size = 0.85 \begin {gather*} -\frac {1000}{7} \, x^{7} - 50 \, x^{6} + 174 \, x^{5} + \frac {179}{4} \, x^{4} - 87 \, x^{3} - \frac {27}{2} \, x^{2} + 27 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^3*(3+5*x)^3,x, algorithm="giac")

[Out]

-1000/7*x^7 - 50*x^6 + 174*x^5 + 179/4*x^4 - 87*x^3 - 27/2*x^2 + 27*x

________________________________________________________________________________________

maple [A]  time = 0.00, size = 35, normalized size = 0.88 \begin {gather*} -\frac {1000}{7} x^{7}-50 x^{6}+174 x^{5}+\frac {179}{4} x^{4}-87 x^{3}-\frac {27}{2} x^{2}+27 x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)^3*(5*x+3)^3,x)

[Out]

27*x-27/2*x^2-87*x^3+179/4*x^4+174*x^5-50*x^6-1000/7*x^7

________________________________________________________________________________________

maxima [A]  time = 0.50, size = 34, normalized size = 0.85 \begin {gather*} -\frac {1000}{7} \, x^{7} - 50 \, x^{6} + 174 \, x^{5} + \frac {179}{4} \, x^{4} - 87 \, x^{3} - \frac {27}{2} \, x^{2} + 27 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^3*(3+5*x)^3,x, algorithm="maxima")

[Out]

-1000/7*x^7 - 50*x^6 + 174*x^5 + 179/4*x^4 - 87*x^3 - 27/2*x^2 + 27*x

________________________________________________________________________________________

mupad [B]  time = 0.02, size = 34, normalized size = 0.85 \begin {gather*} -\frac {1000\,x^7}{7}-50\,x^6+174\,x^5+\frac {179\,x^4}{4}-87\,x^3-\frac {27\,x^2}{2}+27\,x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(2*x - 1)^3*(5*x + 3)^3,x)

[Out]

27*x - (27*x^2)/2 - 87*x^3 + (179*x^4)/4 + 174*x^5 - 50*x^6 - (1000*x^7)/7

________________________________________________________________________________________

sympy [A]  time = 0.07, size = 37, normalized size = 0.92 \begin {gather*} - \frac {1000 x^{7}}{7} - 50 x^{6} + 174 x^{5} + \frac {179 x^{4}}{4} - 87 x^{3} - \frac {27 x^{2}}{2} + 27 x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)**3*(3+5*x)**3,x)

[Out]

-1000*x**7/7 - 50*x**6 + 174*x**5 + 179*x**4/4 - 87*x**3 - 27*x**2/2 + 27*x

________________________________________________________________________________________